<%--
  Created by IntelliJ IDEA.
  User: eastm
  Date: 2020/10/16
  Time: 4:15 PM
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>ajax请求</title>
    <script src="${pageContext.request.contextPath}/js/jquery-3.5.1.min.js"></script>
</head>
<body>
<script>
    $(function() {
        $.ajax({
            url:"${pageContext.request.contextPath}/user/quick15",
            type:"POST",
            data:JSON.stringify([{userName:'zhangsa',age:23},{userName:'lisi',age:20},]),
            contentType:'application/json;charset=utf-8'
        })

    })
</script>
</body>
</html>
